package com.slipper.system.ai.dao;

import java.util.List;

import com.slipper.system.ai.bo.KnowledgeEmbeddingBO;

public interface KnowledgeEmbeddingDao {
    
    int insert(KnowledgeEmbeddingBO bo);
    
    int update(KnowledgeEmbeddingBO bo);
    
    int delete(KnowledgeEmbeddingBO bo);

    KnowledgeEmbeddingBO queryBy(String id);
    
    List<KnowledgeEmbeddingBO> queryList(KnowledgeEmbeddingBO bo);

    void deleteByKnowledgeFileId(String knowledgeFileId);

    List<KnowledgeEmbeddingBO> queryListByKnowledgeId(String knowledgeId);

    void deleteByKnowledgeId(String knowledgeId);
}
